<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>ascii</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1998</div>
    <p>
      <b>ascii</b> -  string ascii conversions</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>a=ascii(txt)  </tt>
      </dd>
      <dd>
        <tt>txt=ascii(a)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>txt</b>
        </tt>: character string or matrix of strings.</li>
      <li>
        <tt>
          <b>a</b>
        </tt>: vector of integer ascii codes</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    This function convert Scilab string to a vector of ascii code or
    vector of ascii code to Scilab strings.</p>
    <p>
    If <tt>
        <b>txt</b>
      </tt> is a matrix of string, <tt>
        <b>ascii(txt)</b>
      </tt> is equivalent
    to <tt>
        <b>ascii(strcat(txt))</b>
      </tt>
    </p>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="../strings/code2str.htm">
        <tt>
          <b>code2str</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../strings/str2code.htm">
        <tt>
          <b>str2code</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
